<?php

namespace Common\Model;

use Think\Model\RelationModel;

class UserRelationModel extends RelationModel
{
    protected $_link = array(
        'UserGroupAccess'=>array(
            'mapping_type'=>self::HAS_ONE,
            'foreign_key'=>'uid',
            'mapping_key'=>'id'
        ),
    );
}